//
//  GutenMarkController.m
//  eBookr
//
//  Created by Zachary Brewster-Geisz on 9/21/07.
//  Copyright 2007 Zachary Brewster-Geisz. All rights reserved.
//

#import "GutenMarkController.h"


@implementation GutenMarkController

- (int)markupFileAtPath:(NSString *)inPath savePath:(NSString *)outPath
{
	NSString *resourcePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"GutenMark"];
	int result = gutenMarkMain([inPath UTF8String], [outPath UTF8String], [resourcePath UTF8String]);
	if (result)
		NSLog(@"GutenMark error.");
	return result;
}
@end
